<?xml version="1.0" encoding="utf-8"?>
<openerp>
	<data>
		<report 
	       id="action_report_customer_invoice"
	       model="account.invoice"
	       string="Invoice Print"
	       report_type="qweb-pdf"
	       name="batam_fast_module.ami_cust_invoice"
	       file="batam_fast_module.ami_cust_invoice"
	    />
		
		<record id="invoice_form_batamfast" model="ir.ui.view">
            <field name="name">account.invoice.form.batamfast</field>
            <field name="model">account.invoice</field>
            <field name="inherit_id" ref="applico_v8.invoice_form_applico"/>
            <field name="arch" type="xml">
                <button name="invoice_print" position="replace">
                	<button name="invoice_print" string="Print" invisible="1"/>
					<button name="cust_invoice_print" string="Print" type="object"/>
				</button>
				<button name="invoice_print" string="Print Invoice" type="object" attrs="{'invisible':['|',('sent','=',False), ('state', '!=', 'open')]}" groups="base.group_user" position="replace">
					<button name="invoice_print" string="Print Invoice" invisible="1"/>
				</button>
            </field>
        </record>
		
	</data>
</openerp>
